# Deps: libpurple-dev, libglib2.0-dev, libsoup2.4-dev, libjson-glib-dev
sapphire-backend: core.c websocket.c event-loop.c markdown.c
	gcc `pkg-config --cflags glib-2.0` `pkg-config --cflags json-glib-1.0` core.c websocket.c event-loop.c -I/usr/include/libpurple `pkg-config --libs gobject-2.0` `pkg-config --libs json-glib-1.0` -lpurple -I/usr/include/libsoup-2.4 -lsoup-2.4 -Wall -Werror -Wextra -Wno-unused-parameter -o sapphire-backend -g markdown.c
